package com.xkdx.caipiao.presistence.hongbaopay;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import com.xkdx.caipiao.module.network.AbsAction;

public class HongbaopayAction extends AbsAction {
	String uid,token;
	public HongbaopayAction(String uid, String token) {
		this.uid = uid;
		this.token = token;
		
	}

	@Override
	public void constructRequest() {
		HashMap<String, String> map = new HashMap<String, String>();
		map.put("uid", uid);
		map.put("logintoken", token);
		String json = constructJson(map);
		Parameter parameter = new Parameter("Trade", "PayPacket", json);

		List<Parameter> list = new ArrayList<Parameter>();
		list.add(parameter);
		requestData = constructMod(list);
	}

}
